<?php

use yii\db\Schema;
use yii\db\Migration;

class m160307_075748_set_mv_table_auto_increment extends Migration
{
    public function up()
    {
        $sql = <<<FINE
        truncate table {{%mobile_adspace}};
        alter table {{%mobile_video_adspace}} auto_increment = 400001;
FINE;
        $this->execute($sql);
    }

    public function down()
    {
        return true;
    }

    /*
    // Use safeUp/safeDown to run migration code within a transaction
    public function safeUp()
    {
    }

    public function safeDown()
    {
    }
    */
}
